Kanzi 4.0.0-beta2
kanzi::gfx::BindVertexInputCommand Struct Reference

Binds the vertex buffer bindings within the current render pipeline. More...

#include <kanzi/gfx/commands.hpp>

Inheritance diagram for kanzi::gfx::BindVertexInputCommand:
[legend]

Public Member Functions

 BindVertexInputCommand ()
 Constructor.
 
- Public Member Functions inherited from kanzi::gfx::BaseCommand
uint32_t getSize () const
 Gets the command size in bytes.
 
uint8_t getTag () const
 Gets the command tag.
 
CommandType getType () const
 Gets the command type.
 
void setTag (uint8_t tag)
 Sets the command tag.
 

Public Attributes

BufferHandleGuard indexBuffer
 The buffer containing the index buffer data. Must have BufferUsageFlag::IndexBuffer.
 
uint32_t indexOffset
 The offset into the index buffer in bytes. The offset must be a multiple of the index type size.
 
IndexBufferType indexType
 The data type of each index.
 
FixedArray< VertexBufferBinding, 4 > vertexBuffers
 Vertex buffer bindings.
 

Additional Inherited Members

- Protected Member Functions inherited from kanzi::gfx::BaseCommand
 BaseCommand (CommandType t, uint32_t s)
 Constructor.
 
 BaseCommand (const BaseCommand &other)
 Copy Constructor.
 
BaseCommandoperator= (const BaseCommand &other)
 Assignment operator.
 

Detailed Description

Binds the vertex buffer bindings within the current render pipeline.

Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ BindVertexInputCommand()

kanzi::gfx::BindVertexInputCommand::BindVertexInputCommand ( )
inlineexplicit

Constructor.

Member Data Documentation

◆ indexType

IndexBufferType kanzi::gfx::BindVertexInputCommand::indexType

The data type of each index.

◆ indexBuffer

BufferHandleGuard kanzi::gfx::BindVertexInputCommand::indexBuffer

The buffer containing the index buffer data. Must have BufferUsageFlag::IndexBuffer.

◆ indexOffset

uint32_t kanzi::gfx::BindVertexInputCommand::indexOffset

The offset into the index buffer in bytes. The offset must be a multiple of the index type size.

◆ vertexBuffers

FixedArray<VertexBufferBinding, 4> kanzi::gfx::BindVertexInputCommand::vertexBuffers

Vertex buffer bindings.

The buffer order matches the binding order in the vertex input state.


The documentation for this struct was generated from the following file: